import { get, post } from './http.js'

// 注册
export const jcast = p => post('/phpt/t.phpx', p);
// 注册发送手机验证码
export const phoneRegisterYZM = p => get('/phoneRegisterYZM.php', p);
// 获取资讯首页信息
export const consultationIndex = p => get('/topic/getNewsPage.dop', p);
// 获取服务器时间
export const getCurrentTime = p => get('/getCurrentTime.php', p);
// 注册手机号
export const phoneRegisterByMobile = p => get('/phoneRegisterByMobile.php', p);
// 登录
export const phoneLogin = p => get('/phoneLogin.php', p);
// 登录2
export const login = p => get('/topic/login.dop', p);
// 重置密码
export const phoneResetPwd = p => get('/phoneResetPwd.php', p);
// 找回密码发送手机验证码
export const phoneFindBackPwdYZM = p => get('/phoneFindBackPwdYZM.php', p);

